package com.ziyueyuwen.xiniao.enums;

/**
 * @author jun 2018/12/19.
 */
public enum OssPathEnum {
    /**
     * 作业的音频
     */
    HOMEWORK_AUDIO("作业的音频", "ziyue-xn", "homework/audio"),

    /**
     * 作业的视频
     */
    HOMEWORK_VIDEO("作业的视频", "ziyue-xn", "homework/video"),

    /**
     * 作业的图片
     */
    HOMEWORK_IMG("作业的图片", "ziyue-xn", "homework/img"),

    /**
     * 作业的问题数据
     */
    HOMEWORK_QUESTION("作业的问题资料数据", "ziyue-xn", "homework/question"),

    /**
     * 作业的批改数据
     */
    HOMEWORK_MARK("作业的批改资料数据", "ziyue-xn", "homework/mark"),

    /**
     * 作业的批改资料音频数据
     */
    HOMEWORK_MARK_AUDIO("作业的批改资料音频数据", "ziyue-xn", "homework/mark"),

    /**
     * 学生答案的图片
     */
    STUDENT_ANSWER_IMG("学生答案的图片", "ziyue-xn", "student_answer/img"),

    /**
     * 学生答案的微信图片
     */
    STUDENT_ANSWER_WX_IMG("学生答案的微信图片", "ziyue-xn", "student_answer/img"),

    /**
     * 学生答案的音频
     */
    STUDENT_ANSWER_AUDIO("学生答案的音频", "ziyue-xn", "student_answer/audio"),

    /**
     * 学生答案的微信音频
     */
    STUDENT_ANSWER_WX_AUDIO("学生答案的微信音频", "ziyue-xn", "student_answer/audio"),

    /**
     * 学生答案的视频
     */
    STUDENT_ANSWER_VIDEO("学生答案的视频", "ziyue-xn", "student_answer/video"),

    /**
     * 课程封面图
     */
    COURSE_IMG("课程封面图", "ziyue-xn", "course_img"),

    /**
     * 商品图片
     */
    PRODUCT_IMG("商品图片", "ziyue-xn", "product/img"),

    /**
     * 测试目录
     */
    TEST("测试", "ziyue-xn", "test");


    private final String des;
    private final String bucketName;
    private final String folder;

    OssPathEnum(String des, String bucketName, String folder) {
        this.des = des;
        this.bucketName = bucketName;
        this.folder = folder;
    }

    public String getDes() {
        return des;
    }

    public String getBucketName() {
        return bucketName;
    }

    public String getFolder() {
        return folder;
    }
}
